package com.codeazur.as3swf.data.consts
{
   public class BlendMode
   {
      
      public static const NORMAL_0:uint = 0;
      
      public static const NORMAL_1:uint = 1;
      
      public static const LAYER:uint = 2;
      
      public static const MULTIPLY:uint = 3;
      
      public static const SCREEN:uint = 4;
      
      public static const LIGHTEN:uint = 5;
      
      public static const DARKEN:uint = 6;
      
      public static const DIFFERENCE:uint = 7;
      
      public static const ADD:uint = 8;
      
      public static const SUBTRACT:uint = 9;
      
      public static const INVERT:uint = 10;
      
      public static const ALPHA:uint = 11;
      
      public static const ERASE:uint = 12;
      
      public static const OVERLAY:uint = 13;
      
      public static const HARDLIGHT:uint = 14;
       
      
      public function BlendMode()
      {
         super();
      }
      
      public static function toString(param1:uint) : String
      {
         switch(param1)
         {
            case NORMAL_0:
            case NORMAL_1:
               return "normal";
            case LAYER:
               return "layer";
            case MULTIPLY:
               return "multiply";
            case SCREEN:
               return "screen";
            case LIGHTEN:
               return "lighten";
            case DARKEN:
               return "darken";
            case DIFFERENCE:
               return "difference";
            case ADD:
               return "add";
            case SUBTRACT:
               return "subtract";
            case INVERT:
               return "invert";
            case ALPHA:
               return "alpha";
            case ERASE:
               return "erase";
            case OVERLAY:
               return "overlay";
            case HARDLIGHT:
               return "hardlight";
            default:
               return "unknown";
         }
      }
   }
}
